/**
 * LabWorkReport.java
 * @author Peter
 */
package edu.gatech.coc.betameisters.infoholders;

import java.io.Serializable;

/**
 * Lab Work Report
 * @author Peter
 * @version 1.0
 */
public class LabWorkReport implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2612801619066713613L;

	/**
	 * Field labType - the lab type
	 */
	private String labType;
	
	/**
	 * Field results - results from lab
	 */
	private String results;
	
	/**
	 * Field comments - any comments from the lab
	 */
	private String comments;
	
	/**
	 * Constructor that creates a lab word report
	 * @param theLabType
	 * @param theResults
	 * @param aComment
	 */
	public LabWorkReport(final String theLabType,  // $codepro.audit.disable com.instantiations.assist.eclipse.analysis.audit.rule.effectivejava.constructorsOnlyInvokeFinalMethods
			final String theResults, final String aComment){ // $codepro.audit.disable com.instantiations.assist.eclipse.analysis.audit.rule.effectivejava.constructorsOnlyInvokeFinalMethods
		setLabType(theLabType);
		setResults(theResults);
		setComments(aComment);
	}

	/**
	 * Set or change the lab type
	 * @param labType
	 */
	public void setLabType(String labType) {
		this.labType = labType;
	}

	/**
	 * Gets the lab type
	 * @return labType
	 */
	public String getLabType() {
		return labType;
	}

	/**
	 * Set or change the lab results
	 * @param results
	 */
	public void setResults(String results) {
		this.results = results;
	}

	/**
	 * Gets the results of the lab
	 * @return results
	 */
	public String getResults() {
		return results;
	}

	/**
	 * Set or change the lab comments
	 * @param comments
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}

	/**
	 * Gets the file comments
	 * @return comments
	 */
	public String getComments() {
		return comments;
	}
	
	/**
	 * Overrides the toString method
	 * @return the lab report
	 */
	public String toString(){
		return "LABTYPE: " + labType + "\nRESULTS: " + results + 
		"\nCOMMENTS: " + comments;
	}
}
